package com.ruoyi.hr.accumulationFund.domain;

import com.alibaba.fastjson.annotation.JSONField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 公积金对象 hr_accumulation_fund
 *
 * @author xzshan
 * @date 2020-07-19
 */
public class HrAccumulationFund extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private Long id;

    /** 月份 */
    @Excel(name = "月份", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ym;

    /** 单位公积金账号 */
    @Excel(name = "单位公积金账号")
    @JSONField(name="com_af_account")
    private String comAfAccount;

    /** 个人公积金账号 */
    @Excel(name = "个人公积金账号")
    @JSONField(name="pe_af_account")
    private String peAfAccount;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    @JSONField(name="id_card_num")
    private String idCardNum;

    /** 缴存基数 */
    @Excel(name = "缴存基数")
    @JSONField(name="payment_base")
    private Long paymentBase;

    /** 单位比例 */
    @Excel(name = "单位比例")
    @JSONField(name="com_ratio")
    private Long comRatio;

    /** 个人比例 */
    @Excel(name = "个人比例")
    @JSONField(name="pe_ratio")
    private Long peRatio;

    /** 月缴存额 */
    @Excel(name = "月缴存额")
    @JSONField(name="pay_total")
    private Long payTotal;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setYm(Date ym)
    {
        this.ym = ym;
    }

    public Date getYm()
    {
        return ym;
    }
    public void setComAfAccount(String comAfAccount)
    {
        this.comAfAccount = comAfAccount;
    }

    public String getComAfAccount()
    {
        return comAfAccount;
    }
    public void setPeAfAccount(String peAfAccount)
    {
        this.peAfAccount = peAfAccount;
    }

    public String getPeAfAccount()
    {
        return peAfAccount;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setIdCardNum(String idCardNum)
    {
        this.idCardNum = idCardNum;
    }

    public String getIdCardNum()
    {
        return idCardNum;
    }
    public void setPaymentBase(Long paymentBase)
    {
        this.paymentBase = paymentBase;
    }

    public Long getPaymentBase()
    {
        return paymentBase;
    }
    public void setComRatio(Long comRatio)
    {
        this.comRatio = comRatio;
    }

    public Long getComRatio()
    {
        return comRatio;
    }
    public void setPeRatio(Long peRatio)
    {
        this.peRatio = peRatio;
    }

    public Long getPeRatio()
    {
        return peRatio;
    }
    public void setPayTotal(Long payTotal)
    {
        this.payTotal = payTotal;
    }

    public Long getPayTotal()
    {
        return payTotal;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ym", getYm())
            .append("comAfAccount", getComAfAccount())
            .append("peAfAccount", getPeAfAccount())
            .append("name", getName())
            .append("idCardNum", getIdCardNum())
            .append("paymentBase", getPaymentBase())
            .append("comRatio", getComRatio())
            .append("peRatio", getPeRatio())
            .append("payTotal", getPayTotal())
            .toString();
    }
}
